package com.shxzz.easy12306.services.ticket.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 车票更新配置类
 * @author shxzz
 * @create 2024-03-19-20:48
 */
@Data
@Component
@ConfigurationProperties(prefix = TicketRemainCacheUpdateProperties.PREFIX)
public class TicketRemainCacheUpdateProperties {

    public static final String PREFIX = "ticket.availability";

    private String ticketUpdateType;

    public static final String TICKET_UPDATE_TYPE_NAME = "ticket-update-type";

    public static final String BINLOG_UPDATE_TYPE = "binlog";
}
